.class public Lcom/estrongs/android/ui/dlna/dialog/d;
.super Lcom/estrongs/android/ui/dialog/q;
.source "DlnaDeviceDetailDialog.java"

# interfaces
.implements Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;


# instance fields
.field private a:Les/l10;


# direct methods
.method public constructor <init>(Landroid/content/Context;Les/l10;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    .line 2
    iput-object p2, p0, Lcom/estrongs/android/ui/dlna/dialog/d;->a:Les/l10;

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/dialog/d;->b(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dlna/dialog/d;)Les/l10;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dlna/dialog/d;->a:Les/l10;

    return-object p0
.end method

.method private a(Landroid/content/Context;)V
    .locals 3

    .line 2
    invoke-static {p1}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    const/4 v0, 0x0

    const v1, 0x7f0c00df

    .line 3
    invoke-virtual {p1, v1, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    .line 4
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    .line 5
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    const v0, 0x7f09099a

    .line 6
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroidx/recyclerview/widget/RecyclerView;

    .line 7
    new-instance v0, Lcom/estrongs/android/pop/app/log/WrapContentLinearLayoutManager;

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/app/log/WrapContentLinearLayoutManager;-><init>(Landroid/content/Context;)V

    invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 8
    new-instance v0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/estrongs/android/ui/dlna/dialog/d;->a:Les/l10;

    invoke-direct {v0, v1, p0, v2}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;-><init>(Landroid/content/Context;Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;Les/l10;)V

    invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    return-void
.end method

.method private b(Landroid/content/Context;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/dialog/d;->a(Landroid/content/Context;)V

    const/4 p1, 0x0

    .line 2
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    const/4 p1, 0x1

    .line 3
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->setCancelable(Z)V

    .line 4
    new-instance p1, Lcom/estrongs/android/ui/dlna/dialog/d$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/dlna/dialog/d$a;-><init>(Lcom/estrongs/android/ui/dlna/dialog/d;)V

    invoke-virtual {p0, p1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 5
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "connect_device_dialog_show"

    invoke-virtual {p1, v0}, Lcom/estrongs/android/statistics/b;->d(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public close()V
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    return-void
.end method
